<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  title="添加标签" :visible.sync="showDialog" width="500px" :before-close="handleClose" append-to-body>
    <div class="dialogStyleBaseBox" v-loading="isloading">
        <h3 class="selectTitle">{{labelList.length>0? "选择标签" : "请先添加会员标签"}}</h3>
        <div class="checkbox-warp" v-if="labelList.length>0">
            <div :class="{'checkbox-item':!item.isChecked,'checked':item.isChecked}" v-for="(item,index) in labelList"
                :key="item.id" @click="handleCheck(index)">
                {{item.name}}
            </div>
        </div>

    </div>
    <div slot="footer">
        <el-row>
            <el-col :span="24">
                <el-button :disabled="isloading" @click="cancelDialog">取 消</el-button>
                <el-button :disabled="isloading" type="primary" @click="submit">确定</el-button>
            </el-col>
        </el-row>
    </div>
</el-dialog>